package com.rock.code.bigdata.kpicontrast.dao;

import org.apache.ibatis.annotations.Param;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * Created by SJ on 2019/1/8.
 */

public interface KpiContrastDao {

    List queryResouceByName(@Param("DI_QU") String DI_QU, @Param("CI_TYPE") String CI_TYPE);

    List queryResourceNumber(@Param("kbpCode") String kbpCode, @Param("areaFlag") String areaFlag);

    Map queryResourceCount(@Param("kbpCode") String kbpCode, @Param("areaFlag") String areaFlag);

    List queryUsability(HashMap map);

    List queryHealth(HashMap map);

    List queryYesterdayKpiContrastInfo(HashMap map);

    List queryKpiContrastInfo(HashMap map);

    List queryKpi(@Param("extUnitId")String extUnitId);

}
